package com.fasteat.menu.entity.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author run
 * @since 2021/3/10 14:24
 */
public class CategoryVo {

    @ApiModelProperty(value = "分类id")
    private String id;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "分类封面图片")
    private String categoryCover;

    @ApiModelProperty(value = "子分类列表")
    private List<CategoryVo> childrens;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryCover() {
        return categoryCover;
    }

    public void setCategoryCover(String categoryCover) {
        this.categoryCover = categoryCover;
    }

    public List<CategoryVo> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<CategoryVo> childrens) {
        this.childrens = childrens;
    }
}
